@charset "utf-8";
//reset css

$bodyBgColor : #333943; //body background color
$navBarColor : #24282F; //nav bar background color
$leftMenuFontColor : #f1f1f1; //left menu font color
$leftMenuBorderTopColor : #3D454E; //left menu parent nav border-top color
$leftMenuBorderBottomColor : #24282F; //left menu parent nav border-bottom color
$leftChildMenuBgColor : #00BF9B; //left menu child nav background color

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10000;
	background: #e4e7ea url("images/loader.gif") no-repeat center center;
}
span.asterisk{color: red;vertical-align: middle;  font-size: 17px;}

/**
custom styles
*/
.navbar-inverse {
	.navbar-collapse {
		background-color: $navBarColor;
	}
	background-color: $navBarColor;

	.dropdown-menu.user > li > a {
		padding-top: 8px;
		padding-bottom: 8px;
	}
}
body {
	background-color: $bodyBgColor;
	.content-body {
		padding: 0;
	}
}
.main {
	padding: 50px 0px 0px 0px;
	width: 100%;

	//left section styles
	.left-section {
		float: left;
		width: 20%;

		.nav {
			.nav-parent {
				> a {
					color: $leftMenuFontColor;
					font-family:"微软雅黑";
					font-size: 14px;
					display: block;
					border-top:1px solid #3D454E;
					border-bottom: 1px solid $navBarColor;

					&:hover,&:active,&:visited,&:focus {
						background-color: $bodyBgColor;
					}
				}

				.children {
					padding: 0;
					display: none;

					.active {
						a {
							background-color: $leftChildMenuBgColor;
							color: #ffffff}
					}

					a {
						display: block;
						padding: 6px 10px 6px 30px;
						color: #6B8182;

						&:hover {
							background-color: $leftChildMenuBgColor;
							text-decoration: none;
							color: #ffffff;
						}
					}

				}
			}
		}
	}

	//right section styles
	.right-section {

		padding: 0;
		float: left;
		width: 80%;
		background: #ffffff;

		.inner-iframe {
			.breadcrumb {
				background-color: #D4D4D4;
				border-radius:0;
				line-height: 2;
				margin-bottom: 10px;

				.glyphicon-chevron-right {
					font-size: 10px;
					font-weight: 200;
				}
			}

			.inner-container {
				padding: 10px 20px;

				.content-add-form {
					//max-width: 800px;

					.btn-group {
						margin-top: 20px;
						margin-bottom: 30px;
					}

				}
			}
		}
	}
}

//组合按钮
.btn-group-or {
	position: relative;
	.btn-primary {
		padding-right: 20px;
	}
	.btn-default {
		padding-left: 20px;
	}
	.or {
		position: absolute;
		z-index: 10;
		padding: 5px;
		width: 30px;
		height: 30px;
		left: 74px;
		top: 2px;
		font-size: 14px;
		font-weight: bold;
		border-radius: 15px;
		background-color: #5CB85C;
		color: #ffffff;
	}
}

.form-group {
	.glyphicon-asterisk {
		color: #cc0000;
	}
}
.checkbox-group {
	padding-top: 8px;
}

//弹出框样式
.pop-layer-box {
	padding: 10px 20px;
}
.text-error {
	color: #cc0000;
}

//图片上传
$imgHeight : 118px;
.img-upload {
	cursor: pointer;
	margin-left:5px;
	display: block;
	width: $imgHeight;
	height:$imgHeight;
	border: 1px solid #ccc;
	margin-top: 4px;

	.glyphicon-picture {
		font-size: 40px;
		display: block;
		margin-top: 20px;
	}
	.upload-text {
		display: block;
		padding: 10px 20px;
	}
}

.import-input {
	border: 1px solid red;
	width: 100%; height: 40px;
	position: absolute;
	top:0; left: 0;
	opacity: 0;
	-moz-opacity: 0;
}

.form-search {
	.form-group {margin-bottom: 10px;}
	.btn-success {margin-bottom: 10px;}
	.mdate {max-width: 100px; display: inline-block;}
}

@media (min-width: 1200px) {

	.main {

		.left-section {
			width: 15%;
		}

		.right-section {
			width: 85%;
		}
	}

}

//分页样式
.pagination {
	.form-inline {
		padding: 0px;
		span {
			display: inline-block;
			padding: 0px 10px;
			line-height: 32px;

			.input-sm {
				padding: 0px;
				height: 22px;
			}
		}
	}
}

//footer styles
footer {
	margin: 0px 0px 0px 0px;
	padding: 10px 20px;
	color: #fff !important;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	a {
		color: #999999;
	}
}

//select2 样式
.select2-container {
	position: relative;
	z-index: 9001;
	min-width: 577px;
}

//icheck 样式
.icheck-label {
	margin-right: 15px;
}

//404页面样式
.error-page {
	width: 600px;
	margin: 20px auto 0 auto;

	.headline {
		font-size: 100px;
		font-weight: 300;
	}
}
.text-yellow {
	color: #f39c12 !important;
}
.text-red {
	color: #dd4b39 !important;
}

//修复bootswitch bug
.bootstrap-switch-swrap {
	min-width: 100px;
}

//下拉菜单
.dropdown-menu {
	min-width: 80px;
}

.bg-text {
	padding: 15px;
}

//图标组样式
.icon-group {
	position: absolute;
	display: inline-block;
	margin-left: 10px;
	.glyphicon {
		font-size: 30px;
		margin-right: 5px;
	}
}

//区域选择插件样式
.area-select {
	.form-control {margin-right: 10px;}
}

//图片选中样式
img.selected {
	border: 1px solid #cc0000;
}

//批量编辑表单样式
.table-bordered {
	.input-sm {
		font-size: 14px;
	}
}

//权限选项卡样式
.permission-item {
	padding: 10px 15px;
}

//城市选择
.area-wrap .form-control{
	display: inline-block;
	width: auto;
}
//表单样式
.table tbody .btn-xs {
	margin-bottom: 3px; }